<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
	CodeFile="Avioane.aspx.cs" Inherits="Avioane" Title="Jocul 'Avioanele'" %>

<%@ MasterType VirtualPath="~/MasterPage.master" %>
<%@ Register Namespace="NS_Controls" TagPrefix="cc1" %>
<%@ Register Namespace="CustomControlsNS" TagPrefix="cc2" %>
<asp:Content ID="ContentDefault" ContentPlaceHolderID="ContentPlaceHolderContent"
	runat="Server">
	<asp:UpdatePanel ID="up1" runat="server">
		<ContentTemplate>
			<div>
				<div style="border:1; background-color: Yellow; float:right; text-align:right">
					<div style="border:1; background-color: Yellow; text-align:right">
						Info
					</div>
					<asp:Button ID="forceRefresh" runat="server" Text="R" />
				</div>
				<asp:Literal ID="output" runat="server" />
				<table border="1" width="90%">
					<tr>
						<td align="center">
							Board Size:
							<asp:DropDownList ID="ddlBoardSize" runat="server" AutoPostBack="true" OnSelectedIndexChanged="changeBoardSize">
								<asp:ListItem Selected="True" Value="10" />
								<asp:ListItem Value="12" />
								<asp:ListItem Value="15" />
							</asp:DropDownList>
						</td>
						<td align="center">
							Number of Planes:
							<asp:DropDownList ID="ddlNPlanes" runat="server" AutoPostBack="true" OnSelectedIndexChanged="changeNPlanes">
								<asp:ListItem Value="1" />
								<asp:ListItem Value="2" />
								<asp:ListItem Selected="True" Value="3" />
								<asp:ListItem Value="4" />
								<asp:ListItem Value="5" />
								<asp:ListItem Value="6" />
							</asp:DropDownList>
						</td>
						<td align="center">
							<asp:CheckBox ID="chkShowDeadPlanes" runat="server" Text="Easy Mode" Checked="false" />
							<span style="font-style:italic; color:Gray" title="Show Full Plane When It's Killed; Show Number of Possibilities as Tooltip">(Details)</span>
						</td>
					</tr>
					<tr valign="top">
						<td align="left">
							<br /><br />
							Lista de jucatori conectati:
							<asp:Repeater ID="rptPlayers" runat="server" OnItemDataBound="rptPlayers_ItemDataBound">
								<HeaderTemplate>
									<table>
										<tr>
											<th>Player</th>
											<th>Game in Progress</th>
											<th>Online Now</th>
										</tr>
								</HeaderTemplate>
								<ItemTemplate>
										<tr>
											<td><asp:Literal ID="name" runat="server" /></td>
											<td>
												<asp:Label ID="noGame" runat="server" Text="N/A" />
												<asp:LinkButton ID="link" runat="server" Text="None. Challenge!" OnClick="playerLink_Click" />
											</td>
											<td><asp:Label ID="online" runat="server" /></td>
										</tr>
								</ItemTemplate>
								<FooterTemplate>
									</table>
								</FooterTemplate>
							</asp:Repeater>
							<br /><br />
							Lista de jocuri in desfasurare:
							<asp:Repeater ID="rptGames" runat="server" />
						</td>
						<td align="center">
							<asp:Literal ID="messageSetup" runat="server" />
							<br />
							<asp:Table ID="tblMyBoard" runat="server">
							</asp:Table>
						</td>
						<td align="center">
							<asp:Literal ID="messageEnemy" runat="server" />
							<br />
							<asp:Table ID="tblEnemyBoard" runat="server" Visible="false">
							</asp:Table>
						</td>
					</tr>
				</table>
			</div>
		</ContentTemplate>
	</asp:UpdatePanel>

	<script language="javascript" type="text/javascript">
	</script>

</asp:Content>
